package org.ccay.excel.meta;

import org.ccay.core.exception.ApplicationException;
import org.ccay.excel.exporter.IExcelExportSupport;
import org.ccay.excel.importer.service.IExcelImportSupport;

/**
 * ExcelSupport查找器。
 */
public interface IExcelSupportFinder {
	
	/**
	 * 查询导出support
	 * @param excelType
	 * @return
	 * @throws ApplicationException
	 * Created：2013-10-31
	 * @author chaowangbang
	 */
	public IExcelExportSupport getExportSupport(String excelType) throws ApplicationException;
	
	/**
	 * 查询导入support
	 * @param excelType
	 * @return
	 * @throws ApplicationException
	 * Created：2013-10-31
	 * @author chaowangbang
	 */
	public IExcelImportSupport getImportSupport(String excelType) throws ApplicationException;
	
	/**
	 * 判断是否support
	 * @param excelType
	 * @return
	 * Created：2013-10-31
	 * @author chaowangbang
	 */
	public boolean support(String excelType);

}
